package com.jack.database_exp.mapper;
import com.jack.database_exp.bean.Customer;
import org.apache.ibatis.annotations.Select;
import java.util.List;

public interface CustomerMapper {
    @Select("select * from customer")
    public List<Customer> queryCustomers();
    @Select("select CNo from customer where CName=#{username}")
    public int queryCustomerByName(String username);
}
